﻿<%@ Page Title="急救药品24小时内未配送订单详情" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="CompanyResponse24HourByDetail.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Statistics.CompanyResponse24HourByDetail" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


    <%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>


    <style type="text/css">
        .style1
        {
            height: 13px;
        }
        .style2
        {
            height: 13px;
            width: 109px;
        }
        .style3
        {
            width: 109px;
        }
    </style>


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div class="search">
        <div class="search_item">
              
        <table>
            <tr>
                <td>
                    <table class="querylist">
                         
                        <tr>
                            <td align="right">
                                采购医院：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                订单名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOrderName" runat="server"></asp:TextBox>
                            </td>
                             
                           <th>
                                排序字段：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSortFields"> 
                                    <asp:ListItem Value="HospitalName" Text="采购医院"></asp:ListItem>
                                    <asp:ListItem Value="PurchaseCount" Text="采购数量"></asp:ListItem>
                                    <asp:ListItem Value="CenSubmiitTime" Text="采购时间"></asp:ListItem>                                
                                    <asp:ListItem Value="ComResponseTime" Text="企业响应时间"></asp:ListItem>
                                    <asp:ListItem Value="OutnumberHour" Text="超过响应时长"></asp:ListItem>
                                </asp:DropDownList> 
                                
                            </td>
                            <th>
                                排序方式：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSort">
                                    <asp:ListItem Value="DESC" Text="降序"></asp:ListItem>                                
                                    <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
                                </asp:DropDownList>
                            </td> 
                            
                        </tr>
                        
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
   
        </div>
        
    </div >
    <div class="listip">
        <ul>
            <li><asp:Label ID="lblTitle" runat="server"></asp:Label>
            </li>
        </ul>
    </div>
    <div class="navDiv">&nbsp;</div>
    <asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist" 
        AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>

            <%--<asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" ReadOnly="true" /> 
            <asp:BoundField DataField="ProductName" HeaderText="通用名" ReadOnly="true" />
           <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" ReadOnly="true" />
            <asp:BoundField DataField="Pack" HeaderText="采购规格" />
            <asp:BoundField DataField="Unit" HeaderText="采购单位" />--%>
            <asp:BoundField DataField="OrderName" HeaderText="采购单名称"  /> 
            <asp:BoundField DataField="HospitalName" HeaderText="采购医院" ReadOnly="true"  /> 
            <%--<asp:BoundField DataField="Price" HeaderText="供应价格" ReadOnly="true" />--%> 
            <asp:BoundField DataField="CenSubmiitTime" HeaderText="采购时间" ReadOnly="true" />
            <asp:BoundField DataField="ComResponseTime" HeaderText="企业响应时间"  ReadOnly="true"  />
            <asp:BoundField DataField="DistributeTime" HeaderText="配送时间"  ReadOnly="true"  />
            <asp:BoundField DataField="PurchaseCount" HeaderText="采购量" ReadOnly="true" />             
            <asp:BoundField DataField="DistributeCount" HeaderText="配送量" ReadOnly="true"  /> 
            <asp:BoundField DataField="OutnumberHour" HeaderText="超过配送时长(小时)" ReadOnly="true"  />  
            
         </Columns>  
    </asp:GridView>
    <div class="page">
        <span style="width: 70%; text-align: right; float: right">
            <webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
                OnPageChanged="AspNetPager_CompanyPS_PageChanged">
            </webdiyer:AspNetPager>
        </span>
    </div> 
  
    <br />
    <div class="listctrl">
            <hz:HzButton ID="HzButton1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />  
    
      <hz:HzButton ID="btnBack" runat="server" CssClass="btn" Text="返回" onclick="btnBack_Click" />
  </div>
   <div class="listip">
        <ul>
            <li>说明:<span>采购时间：医院提交采购单的时间。</span>
            </li>
            <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>企业响应时间：以企业响应采购单的时间为准。</span> </li>
            <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>配送时间：以企业确认配送采购单的时间为准。</span> </li>
            <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>超过响应时长(小时)=（企业配送时间-企业响应时间）-24。注：如果企业没有配送则以当前时间为准。</span> </li>
        </ul>
    </div>
</asp:Content>
